package com.app.service;

import com.app.model.TestsRecordModel;
import com.app.util.Result;
import com.app.vo.TestsRecordVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface TestsRecordService {


    TestsRecordVo getListByModel(TestsRecordModel model, Integer sortType);

    Integer insert(TestsRecordModel model);

    void update(TestsRecordModel model);


    TestsRecordModel getModelById(Integer id);

    void deleteTestsRecord(Integer id);

    List<TestsRecordModel> getPlantByIds(List<Integer> appIdList);

    // 导入实验记录统计excel文件
    String importTestRecord(MultipartFile file) throws IOException;

    Result<Object> deleteBatchByIds(String ids);
}
